package com.rundow.common.base.request;

import com.rundow.common.base.model.Point;
import com.rundow.common.base.model.PointInfo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.BeanUtils;

import java.util.List;

@Getter
@Setter
@ToString
public class PointRequest  extends Point{

    private List<PointInfo> pointInfoList;


    public Point convertDtoToDo(Point point) {
        BeanUtils.copyProperties(this, point);
        return point;
    }

}
